package com.ruoyi.user.service.impl;

import com.ruoyi.user.domain.SysUserRole;
import com.ruoyi.user.mapper.SysUserRoleMapper;
import com.ruoyi.user.service.ISysUserRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SysUserRoleServiceImpl implements ISysUserRoleService {

    @Autowired
    private SysUserRoleMapper sysUserRoleMapper;

    @Override
    public int insertSysUserRole(SysUserRole sysUserRole) {
        return sysUserRoleMapper.insertSelective(sysUserRole);
    }
}
